package com.example.saifly.inPageMy;

public class Artical {
    private String articalId;

    private String title;

    private String image;

    private String link;

    private Integer type;

    public Artical() {}

    @Override
    public String toString() {
        return "Artical{" +
                "articalId='" + articalId + '\'' +
                ", title='" + title + '\'' +
                ", image='" + image + '\'' +
                ", link='" + link + '\'' +
                ", type=" + type +
                '}';
    }

    public Artical(String articalId, String title, String image, String link, Integer type)
    {
        this.articalId=articalId;
        this.image=image;
        this.link=link;
        this.title=title;
        this.type=type;
    }


    public String getArticalId()
    {
        return articalId;
    }

    public void setArticalId(String articalId)
    {
        this.articalId = articalId == null ? null : articalId.trim();
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title == null ? null : title.trim();
    }

    public String getImage()
    {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link == null ? null : link.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
